﻿@model VideoCache.Server.Model.EpisodeInfo
@{
    ViewBag.Title = "编辑剧集";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm())
{
<input type="hidden" value="ViewBag.AlbumId" name="AlbumId" />
<div class="unit">
    <div class="editor-label">网站</div>
    <div class="editor-field">
        @Html.DropDownList("SiteId", "请选择")
        @Html.ValidationMessageFor(model => model.SiteId)
    </div>
</div>
<div class="unit">
    <div class="editor-label">剧集</div>
    <div class="editor-field">
        @Html.EditorFor(model => model.EpisodeIndex)
        @Html.ValidationMessageFor(model => model.EpisodeIndex)
    </div>
</div>
<div class="unit">
<div class="editor-label">标题</div>
<div class="editor-field">
    @Html.TextBoxFor(model => model.Name, new { style = "width:400px" })
    @Html.ValidationMessageFor(model => model.Name)
</div>
</div>
<div class="unit">
<div class="editor-label">标记</div>
<div class="editor-field">
    @Html.TextBoxFor(model => model.Token, new { style = "width:400px" })
    @Html.ValidationMessageFor(model => model.Token)
</div>
</div>
<div class="unit">
<div class="editor-label">网址</div>
<div class="editor-field">
    @Html.TextBoxFor(model => model.Url, new { style = "width:400px" })
    @Html.ValidationMessageFor(model => model.Url)
</div>
</div>
<div class="unit">
    <div class="editor-label"></div>
    <div class="editor-field">
        <button type="submit">保存</button>
    </div>
</div>
}